package com.rongcheng.applibs;

import android.app.Application;

import com.rongcheng.applibs.talking_data.TalkingDataConfig;
import com.tendcloud.tenddata.TCAgent;

/**
 * Created by frc on 16-9-26.
 */

public class MyApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        initTalkingData();


    }

    private void initTalkingData() {
        TCAgent.LOG_ON = true;
        TCAgent.init(this, "CF26814310AC8F17B6D770F36434C29E", "wandoujia");
        TCAgent.setReportUncaughtExceptions(true);
        TalkingDataConfig.getInstance().initTalkingDataConfig();
    }
}
